package com.openspring.platform.model;

import com.openspring.framework.annotation.persistence.Table;
import com.openspring.framework.annotation.persistence.Transient;

/**
 * 权限实体类
 * @author hebin
 *
 */
@Table(name="t_platform_permission")
public class Permission {
	
	private Long resource_id;
	private Long operator_id;
	private String resource_name;
	private String operator_name;
	private String text;
	private String iconCls;
	private Long sort;
	
	public Long getResource_id() {
		return resource_id;
	}
	public void setResource_id(Long resource_id) {
		this.resource_id = resource_id;
	}
	public Long getOperator_id() {
		return operator_id;
	}
	public void setOperator_id(Long operator_id) {
		this.operator_id = operator_id;
	}
	@Transient
	public String getResource_name() {
		return resource_name;
	}
	public void setResource_name(String resource_name) {
		this.resource_name = resource_name;
	}
	@Transient
	public String getOperator_name() {
		return operator_name;
	}
	public void setOperator_name(String operator_name) {
		this.operator_name = operator_name;
	}
	@Transient
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	@Transient
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	@Transient
	public Long getSort() {
		return sort;
	}
	public void setSort(Long sort) {
		this.sort = sort;
	}
}
